PaymentPlugins\WooCommerce\PPCP\Payments\Gateways\PayPalGateway S

Total Complexity 35
Dependencies 2
Dependents 2
Total lines 517
Lines of code 469
Logical lines of code 70
Comment lines 10
Methods 16
Properties 4

Methods 16

Method Rating Maintainability Complexity Lines of code
init_form_fields()
B
23
7 274
get_payment_method_data()
S
43 4 50
get_product_form_fields()
S
45 4 47
add_query_params()
S
59 4 15
get_payment_section_options()
S
57 3 16
validate_fields()
S
67 3 7
get_admin_script_dependencies()
S
59 1 14
__construct()
S
67 1 7
init_hooks()
S
71 1 5
get_checkout_script_handles()
S
76 1 4
get_express_checkout_script_handles()
S
76 1 4
get_cart_script_handles()
S
76 1 4
get_minicart_script_handles()
S
76 1 4
get_product_script_handles()
S
76 1 4
express_checkout_fields()
S
83 1 5
is_product_section_enabled()
S
65 1 9